package com.hs.panghu.dao;

import com.hs.panghu.entity.Community;

import java.util.List;
import java.util.Map;

public interface CommunityDao {
    //添加
    public int insertCommunity(Community community);
    //修改
    public int updateCommunity(Community community);
    //删除
    public int deleteCommunity(Integer community);
    //分页多条件查询
    public List<Community> selectCommunity(Map<String,String> map);
    //多条件查询总条数
    public int selectCommunityCount(Map<String,String> map);
}
